prepare("SELECT * FROM pins WHERE pin =:p") ; $sql->bindparam(':p', $pins) ; $sql->execute() ; //$rowp = $sql->FETCH(PDO::FETCH_ASSOC) ; $rc = $sql->rowcount() ; if($rc > 0) { $_SESSION["rgno"] = $regno ; //$_SESSION["lvs"] = $lvs ; $_SESSION["pin"] = $pins ; $_SESSION["classid"] = $classid ; $sql1 = $DBcon->prepare("select * from pinassociate where PINCODE =:ps") ; $sql1->bindparam(':ps', $pins) ; $sql1->execute() ; $rct = $sql1->rowcount() ; if($rct > 0) { $row = $sql1->FETCH(PDO::FETCH_ASSOC) ; $pin = $row['PINCODE'] ; $owner = $row['REGNO'] ; $numbused = $row['NOUSED'] ; if(($owner == $regno) and ($numbused >= 4)) $msg[] = 'You have used this Pin above its Limit please buy another Card' ; if ($owner != $regno) $msg[] = 'THIS CARD HAS BEEN USED BY ANOTHER PERSON' ; } } else { $msg[] = 'Sorry the Pin you entered does not exist, Check the Pin and try again ' ; } if(empty($msg)) header("location: rs.php"); }// end if access, i.e, if pin exist ?> Holy Ghost Juniorate

Our Portal

Instruction


1. Gently scratch off the silver coating at the back side of your access card to unveil your PIN,
2. Enter your Regno|Exam no, Your PIN and Your Class in the Field Provided for them respectively.
3. Click Login Button and follow the Screen Instruction to view and Print your Result.

I don't Know my Regno, what can i do ?

Just enter your Surname in the field below and Click Get RegNo button, and select from the available options



Result Portal
'; foreach ($msg as $item) { echo "
  • $item
  • "; } echo ''; ?>